build: Use more conservative GResource embedding on non-x86_64
authorSimon McVittie <smcv@debian.org>
Sat, 17 Sep 2022 20:50:38 +0000 (21:50 +0100)
committerSimon McVittie <smcv@debian.org>
Sat, 17 Sep 2022 21:23:08 +0000 (22:23 +0100)
commitac4efa24ba6b1896ba05a846e57fb392517dff9e
tree4c65a5a7a53b9f19881123042b19c0147330353e
parent0b7f513848f0ed8319a67279153fb736fb568c18
build: Use more conservative GResource embedding on non-x86_64

Doing clever things with objcopy is faster and seems to be reliable on
x86_64 Linux, but also doesn't work on all toolchains and architectures:
in particular, Debian has had trouble with this on arm and mips.
In a distro build environment where we are compiling all of GTK every
time, the cost of potentially unreliable builds is higher than the cost
of using slower but more conservative GResource embedding.

Bug: https://gitlab.gnome.org/GNOME/gtk/-/issues/5107
Signed-off-by: Simon McVittie <smcv@debian.org>
Forwarded: https://gitlab.gnome.org/GNOME/gtk/-/merge_requests/4956

Gbp-Pq: Name build-Use-more-conservative-GResource-embedding-on-non-x8.patch
gtk/meson.build